Repository navigation
refactor(sysreport): drop unused run() helper and LINES_LIMIT knob - #38
Conversation
run() was never called and LINES_LIMIT was never set. Sections keep their own printf/head pipelines; no behaviour change. Dz-Task-Id: tsk_9e5bd6fc58d94ae01c729f2ba8d59f3a
✅ Reviewed — nothing blocking0 actionable comment(s) · grounded on your code ⏱ 26s wall clock · 🤖 developerz.ai — automated review, running on your model and your box. |
There was a problem hiding this comment.
Review summary — 1 file(s), 0 finding(s).
Removes the uncalled run() helper and its LINES_LIMIT default from share/tools/sysreport; the shown file has no remaining reference or call site to either, and section output is untouched. No defect found.
- test files were not shown to the reviewer — this diff touched no path recognised as a test, so no assertion was available to read the change against
🤖 developerz.ai review — automated, running on your model and your box. What is this? · Reviewed by router/deepseek-v4.1-flash on box hv-dedicated-ci-0 — 14k in / 565 out over 1 call, on your flat-rate plan: no per-token charge (~<$0.01 at list price).
What
run() was never called and LINES_LIMIT was never set. Sections keep their own printf/head pipelines; no behaviour change.
Acceptance
Changes
share/tools/sysreport(edit) — Delete the unused run() helper (lines 15-19, including the LINES_LIMIT default) and nothing else. Keep sec() on line 14 and the blank line before the header printf. No bug is visible in the removed lines beyond their being dead code, so there is nothing else to fix. Leave the section bodies untouched.Verification
No check command was found for this repository, so no gate ran before the commit.
What the editors ran to see the change working, and what they saw:
bash -n share/tools/sysreport && grep -c 'run()\|LINES_LIMIT' share/tools/sysreport(sysreport): exit 0, count 0; sec() and the blank line before the header printf remainNotes
Premises of the request the team disproved:
🤖 Opened by developerz.ai for task
tsk_9e5bd6fc58d94ae01c729f2ba8d59f3aon developerz-ai/mini.Raised automatically by the
raw_task_triagelane.